/*
 * Copyright (c) 2010 Philip Foulkes <philip.foulkes@gmail.com>
 *
 * This file is free software and is made available under the 
 * terms of the GNU General Public License, version 2, or at your
 * option, any later version
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 */

#ifndef _MSRP_MRPDU_H_
#define _MSRP_MRPDU_H_

#define MSRP_PROTOCOL_VERSION					0

#define MSRP_ATTRIBUTE_LENGTH_TALKER_ADVERTISE_ATTRIBUTE_TYPE	25
#define MSRP_ATTRIBUTE_LENGTH_TALKER_FAILED_ATTRIBUTE_TYPE		34
#define MSRP_ATTRIBUTE_LENGTH_LISTENER_ATTRIBUTE_TYPE			8
#define MSRP_ATTRIBUTE_LENGTH_DOMAIN_ATTRIBUTE_TYPE             4

#define MSRP_FOUR_PACKED_EVENTS_IGNORE			0
#define MSRP_FOUR_PACKED_EVENTS_ASKING_FAILED	1
#define MSRP_FOUR_PACKED_EVENTS_READY			2
#define MSRP_FOUR_PACKED_EVENTS_READY_FAILED	3

#define MSRP_ATTRIBUTE_TYPE_TALKER_ADVERTISE	1
#define MSRP_ATTRIBUTE_TYPE_TALKER_FAILED		2
#define MSRP_ATTRIBUTE_TYPE_LISTENER			3
#define MSRP_ATTRIBUTE_TYPE_DOMAIN              4

#define MSRP_PRIORITY_AND_RANK_DEFAULT_RANK		1
#define MSRP_PRIORITY_AND_RANK_EMERGENCY_RANK	0

#define MSRP_RESERVATION_FAILURE_CODE_INSUFFICIENT_BANDWIDTH						1
#define MSRP_RESERVATION_FAILURE_CODE_INSUFFICIENT_BANDWIDTH_FOR_TRAFFIC_CLASS		2
#define MSRP_RESERVATION_FAILURE_CODE_STREAM_ID_IN_USE								3

#endif
